package com.agileplex.products.acc.commands;

import com.agileplex.products.acc.CommandExecutionException;
import com.agileplex.products.acc.Session;
import com.agileplex.products.acc.results.CommandResult;

/**
 * Invoke method command
 *
 * @creator Rui Tang
 * @date 2008-06-18
 *
 * @LastChanged
 * @LastChangedBy $LastChangedBy: tangrui@agileplex.com $
 * @LastChangedDate $LastChangedDate: 2008-06-22 16:08:49 +0000 (Sun, 22 Jun 2008) $
 * @LastChangedRevision $LastChangedRevision: 7 $
 */
public class InvokeMethodCommand extends Command {

    private String className;
    private String methodName;

    public InvokeMethodCommand(String name) {
        super(name);
    }

    public void setClassName(String className) {
        this.className = className;
    }
    
    public String getClassName() {
    	return this.className;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }
    
    public String getMethodName() {
    	return this.methodName;
    }

    public CommandResult exec(LexicalParser lexicalParser, Session session) throws CommandExecutionException {
    	return null;
    }

}
